package rs.udd.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import rs.udd.model.Advert;
import rs.udd.model.Agent;
import rs.udd.model.AgentAdvertApplication;

@Repository
public interface AgentAdvertApplicationRepository extends JpaRepository<AgentAdvertApplication, Long> {

	public AgentAdvertApplication findByAgentAndAdvert(Agent agent, Advert advert);
	
}
